package com.xqq.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 点位上报表
 * </p>
 *
 * @author xqq
 * @since 2024-11-05
 */
@Getter
@Setter
@TableName("tb_track_history")
public class TbTrackHistoryDO {

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 任务ID
     */
    @TableField("task_id")
    private Long taskId;

    /**
     * 人员ID
     */
    @TableField("uid")
    private Long uid;

    /**
     * 轨迹上报点
     */
    @TableField("position")
    private String position;

    /**
     * 是否是重要轨迹点
     */
    @TableField("key_point")
    private Boolean keyPoint;

    /**
     * 创建时间
     */
    @TableField("gmt_create")
    private LocalDateTime gmtCreate;

    /**
     * 更新时间
     */
    @TableField("gmt_update")
    private LocalDateTime gmtUpdate;

    @TableField("date")
    private String date;

    @TableField("content")
    private String content;

    /**
     * default，hailiao，qixing
     */
    @TableField("vendor")
    private String vendor;


}
